var SceneTypes = cc.Enum({
    SceneGame: 0,
    SceneEdit: 1,
    SceneTitle: 2,
});

var GameEvent = {
    ElementSelect: 'elementselect',
    EditedSelect: 'editedselect',
    GameTouched: 'gametouched',
    AddBlock: 'addblock',
    PlayerRetry: 'playerretry',
    EnterEdit: 'enteredit',
    GetStar: 'getstar',
    GameWin: 'gamewin',
    LoadMap: 'loadmap',
    RemoveBlock: 'removeblock'
}

var GameObject = cc.Enum({
    StaticTri: 1,
    RotateTri: 2,
    SwitchTri: 3,
    StaitcBlock: 4,
    StaticTrap: 5,
    Player: 6,
    BlockLeft: 7,
    BlockUp: 8,
    BlockRight: 9,
    BlockDown: 10,
    Star: 11,
    OneceBlock: 12,
});

var GameConst = {
    size: 50,
    halfsize: 25,
    width: 18,
    height: 30,

}

module.exports = {
    SceneTypes: SceneTypes,
    GameEvent: GameEvent,
    GameObject: GameObject,
    GameConst: GameConst
};